package com.firexxx.vp.adapter.engine;

import com.firexxx.vp.domain.mlv.MlvEngineInterface;
import lombok.extern.slf4j.Slf4j;

import javax.validation.constraints.NotNull;
import java.util.Collections;
import java.util.Map;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/12/24 10:01
 */
@Slf4j
public abstract class AbstractMlvEngineService implements MlvEngineInterface {

    public abstract String getUrl();

    @Override
    public String getVoicePrint(@NotNull String audioId, @NotNull byte[] content) throws Throwable {
        //具体实现忽略
        return "";
    }

    @Override
    public Map<String, String> batchVoicePrint(Map<String, byte[]> audioMap) throws Throwable {
        //具体实现忽略
        return Collections.emptyMap();
    }

    @Override
    public String registerVoicePrint(Map<String, byte[]> audioMap) throws Throwable {
        //具体实现忽略
        return "";
    }
}